<?php

declare(strict_types=1);

namespace Base\Provider\WeWork;

use Base\Contract\WeWork\ExternalContactConfigurable;

class ExternalContactProvider extends AbstractProvider
{
    /**
     * @var ExternalContactConfigurable
     */
    protected $service;

    /**
     * @return array app配置
     */
    protected function config(?string $wxCorpId = null, ?array $agentId = null): array
    {
        return $this->service->externalContactConfig($wxCorpId, $agentId);
    }
}
